package edu.ntu.im.p2ptrade.msg;

import net.jxta.endpoint.Message;

public interface PMessage {
	public static String TYPE = "type";
	public static String PEER ="peer";
	public static String TRANSACTIONID ="transactionId";
	public static String CONTENT = "CONTENT"; 
	public static String USERNAME = "uname";
	public static String USERDESC = "udesc";
	public static String UNICKNAME = "unickname";
	public static String UPICURL = "uphotourl";
	public static String UTRUST = "utrust";
	public static String USERPBLICKEY = "upubkey";
	public static final String DUMMY = "dummy";
	public Message getMessageToTransfer() throws Exception;
	public String toLogMessage();
}
